package factory.abstract_factory;

public class Client {

    public static void main(String[] args) {
//        ItalyDessertFactory factory = new ItalyDessertFactory();
        AmericanDessertFactory factory = new AmericanDessertFactory();

        Dessert dessert = factory.createDessert();
        Coffee coffee = factory.createCoffee();

        dessert.show();
        System.out.println(coffee.getName());
    }
}

